package com.jcfriends.main.payment.dao;

import java.util.ArrayList;

import com.jcfriends.main.payment.pojo.Payment;
import com.jcfriends.main.payment.pojo.PaymentInfo;

public interface PaymentDao {

	public ArrayList<PaymentInfo> getPaymentList(PaymentInfo paymentInfo);
	
	public PaymentInfo getPayment(PaymentInfo paymentInfo);
	
	/**
	 * 납부 승인 - 총무
	 * @param paymentInfo
	 * @return
	 */
	public int putPayment(PaymentInfo paymentInfo);
	
	/**
	 * 납부 요청 - 납부자
	 * @param paymentInfo
	 * @return
	 */
	public int postPayment(PaymentInfo paymentInfo);
	
	/**
	 * 해당 납부내역 삭제
	 * @param paymentInfo
	 * @return
	 */
	public int deletePayment(PaymentInfo paymentInfo);
}
